<script lang="ts" setup>
import { reactive } from 'vue'
const formList = reactive<FormList>([
  {
    label: '标签输入框类型效果',
    prop: 'inputTag2',
    type: 'inputTag',
    tagType: 'success',
    draggable: true,
    value: ['tag1', 'tag2', 'tag3'],
    tagEffect: 'plain'
  }
])
const submitForm = (formData: any) => {
  console.log(formData)
}
</script>
<template>
  <XyAddForm isCard :formList="formList" @submit-form="submitForm" />
</template>
